package com.yvon.maple.service.auth.valicode.validate.code.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;


/**
 * @Author : Yvon
 * @Description 这里是一个 security 属性
 * @Date 2019/5/19
 */
@Data
@ConfigurationProperties(prefix = "maple.auth.code")
@Configuration
@RefreshScope
public class CodeProperties {

	/**
	 * 图片验证码配置
	 */
	private ImageCodeProps image = new ImageCodeProps();

	/**
	 * 短信验证码配置
	 */
	private CodeProps sms = new CodeProps();

	/**
	 * 邮箱验证码配置
	 */
	private EmailCodeProps email = new EmailCodeProps();


}